import sys
sys.path.append("../")

from services.AutoSelectService import *

class AutoSelectController:
    def __init__(self,args):
        self.args = args
        self.service = AutoSelectService()

    def run(self):
        if self.args["func"] == "getAll":
            return self.getAll()

    def getAll(self):
        return self.service.gets()